<template>
  <view
    v-if="title"
    :class="[classBase,className,colorName]">
    {{title}}
  </view>
</template>

<script>
export default {
  name: "text-item", // 副文字组件
  props:{
    className: {
      type: String,
      default: 'fs26 color26 lh28'
    },
    colorName: {
      type: String,
      default: 'color26'
    },
    classBase: {
      type: String,
      default: 'box-b'
    },
    title: {
      type: String,
      default: ''
    },
  }
}
</script>

<style lang="less" scoped>

</style>
